package model.request

import com.thoughtworks.xstream.annotations.XStreamAlias

import scala.beans.BeanProperty

@XStreamAlias("xml")
class WXPayRefundRequest {

  @BeanProperty var appid:String = _

  @XStreamAlias("mch_id")
  @BeanProperty var mchId:String = _

  @XStreamAlias("nonce_str")
  @BeanProperty var nonceStr:String = _

  @XStreamAlias("out_refund_no")
  @BeanProperty var outRefundNo:String = _

  @XStreamAlias("out_trade_no")
  @BeanProperty var outTradeNo:String = _

  @XStreamAlias("refund_fee")
  @BeanProperty var refundFee:Integer = _

  @XStreamAlias("total_fee")
  @BeanProperty var totalFee:Integer = _

  @XStreamAlias("transaction_id")
  @BeanProperty var transactionId:String = _

  @XStreamAlias("sign_type")
  @BeanProperty var signType:String = _

  @BeanProperty var sign:String = _

  @XStreamAlias("refund_desc")
  @BeanProperty var refundDesc:String = _

  @XStreamAlias("notify_url")
  @BeanProperty var notifyUrl:String = _
}
